home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
MATH
/
NRPAS13
/
ERF.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-04-29
|
163b
|
9 lines
FUNCTION erf(x: real): real;
BEGIN
IF (x < 0.0) THEN BEGIN
erf := -gammp(0.5,sqr(x))
END ELSE BEGIN
erf := gammp(0.5,sqr(x))
END
END;